package edu.designPattern.Adapter;

/**
 * 教练喊战术
 *
 * @Author ltb
 * @Date 2021/6/27 2:07 下午
 * @Version 1.0
 */
public class Main {

    public static void main(String[] args) {
        Player b = new Forwards("巴蒂尔");
        b.Attack();

        Player m = new Guards("麦迪");
        m.Attack();

        Player ym = new Translator("姚明");
        ym.Attack();
        ym.Defense();
    }
}
